package com.foreknow.springboot.mapper;

import com.foreknow.springboot.po.Orderdetailet;
import com.foreknow.springboot.po.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author xiaoming
 * @version jdk1.8
 * @date 2022/8/13 22:36
 * @function:
 */
@Mapper
public interface OrderdetailetMapper {
    /**
     * @param list
     * @return
     * @throws
     */

    public int save(@Param(value = "list") List<Orderdetailet> list) ;

    /**
     * 根据orderId获取订单明细集合
     * @param orders
     * @return
     * @throws
     */
    public List<Orderdetailet> save2(Orders orders) ;
}
